#include "Mesh_PCH.h"
#include "MeshSurface.h"

/*--------------------------------------------------------------------------*/

MeshSurface::MeshSurface(IModel* model, uint id, uint resources, uint numVertices, uint numIndices) :
	ISurface(model, id, resources, numVertices, numIndices)
{
	m_vertexdata = new uchar[GetSize()];
	this->SetMemory(m_vertexdata);
}

/*--------------------------------------------------------------------------*/

MeshSurface::~MeshSurface()
{

}

/*--------------------------------------------------------------------------*/